using System;
using MvcMall.Core.Contacts.Repositories;
using MvcMall.Data.Repositories;
using NUnit.Framework;

namespace MvcMall.Tests.MvcMallData.Repositories
{
    [TestFixture]
    public class UserRepositoryTest:ESDatabaseRepositoryTestsBase
    {
        private IUserRepository _userRepository;

        public UserRepositoryTest()
            :base(true)
        {
            
        }

        [SetUp]
        public void Init()
        {
            _userRepository = new UserRepository();
        }

        [Test]
        public void QueryTest()
        {
            var user = _userRepository.Get(2);
            if(user.Store == null)
                Console.Write("123");
            return;
        }
        
    }
}